﻿using System;
using System.Collections.Generic;
using System.Web;

namespace KioskViewerBLL.BLLObjects
{
    /// <summary>
    /// Summary description for Topic
    /// </summary>
    [Serializable]
    public class TopicObj
    {
        private int         _topic_id;
        private string      _topic;
        private bool        _is_active;
        private string      _img_url;
        private int         _sort;
        private string      _flash_label;
        private string      _goto_url;
        
        public TopicObj()
        {
        }

        public TopicObj(
                int topic_id,
                string topic,
                bool is_active,
                string img_url,
                int sort,
                string flash_label,
                string goto_url
            )
        {
            _topic_id = topic_id;
            _topic = topic;
            _is_active = is_active;
            _img_url = img_url;
            _sort = sort;
            _flash_label = flash_label;
            _goto_url = goto_url;

        }

        public int Topic_id { 
            get { return _topic_id;} 
            set { _topic_id = value; }
        }

        public string Topic { 
            get { return _topic;} 
            set { _topic = value; }
        }

        public bool Is_active { 
            get { return _is_active;} 
            set { _is_active = value; }
        }

        public string Img_url { 
            get { return _img_url;} 
            set { _img_url = value; }
        }

        public int Sort { 
            get { return _sort;} 
            set { _sort = value; }
        }

        public string Flash_label { 
            get { return _flash_label;}
            set { _flash_label = value; }
         }

        public string Goto_url { 
            get { return _goto_url;} 
            set { _goto_url = value; }
        }

    }
}
